﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XH.BMS.Base;

namespace XH.BMS.Models
{
    public class MonitorModel:NotifyBase
    {
        private double _soc;
        // 剩余容量
        public double SoC
        {
            get { return _soc; }
            set { SetProperty(ref _soc, value); }
        }
        private int _voltage;
        // 电压
        public int Voltage
        {
            get { return _voltage; }
            set { SetProperty(ref _voltage, value); }
        }
        private int _current;
        // 电流
        public int Current
        {
            get { return _current; }
            set { SetProperty(ref _current, value); }
        }
        private int _capacitance;
        // 电量
        public int Capacitance
        {
            get { return _capacitance; }
            set { SetProperty(ref _capacitance, value); }
        }
        private double _soh;
        public double SoH
        {
            get { return _soh; }
            set { SetProperty(ref _soh, value); }
        }

        public List<GroupItemModel> BatteryGroup { get; set; } = new List<GroupItemModel>();
        public ObservableCollection<AlarmItemModel> BatteryMessage { get; set; } = new ObservableCollection<AlarmItemModel>();

    }
}
